Page({
  data: {
    // 默认按照下单者视角展示帮助
    context: 'order_user'
  },

  onLoad(options) {
    const ctx = (options && options.context) || 'order_user';
    this.setData({ context: ctx });
  },

  goBack() {
    wx.navigateBack();
  },

  goToFeedback() {
    wx.navigateTo({ url: '/pages/profile/feedback' });
  }
});
